<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>pvm_sci2f77</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab function</center>
    <div align="right">Last update : May 1998</div>
    <p>
      <b>pvm_sci2f77</b> -  Convert complex scalar into F77</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>[res] = pvm_sci2f77(var)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>var : local scilab variable.  On  return, the  variable will  be</b>
        </tt>overwritten with the result  of conversion operation.</li>
      <li>
        <tt>
          <b>res</b>
        </tt>: if the parameter var is not a variable, the result of the conversion  is returned in res.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>pvm_sci2f77</b>
      </tt>  converts all the complex of a scilab variable
    (array, list...) in the F77 representation. MAy be useful if an
    application is sendind data to a non scilab application (direcvtly to
    a C or F77 program for example).</p>
    <p>
    Note that the parameter is passed by adress. It means that if the
    parameter is a variable, this variable will be overwritten with the
    result  of conversion operation. On the other case, if the parameter
    is not a variable, the result will be returned in res.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

a = [1+%i, 2+2*%i,3+3*%i];
pvm_sci2f77(a) 
if norm(a - [1.+2* %i,1+3*%i, 2. + 3. *%i ]) &gt;10*%eps then pause;end
 
  </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="pvm_f772sci.htm">
        <tt>
          <b>pvm_f772sci</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
